/**
 * Created by 李柏霖
 * 2020/10/15 11:08
 */

package com.lbl.service.impl;

import com.lbl.dao.IPersonDao;
import com.lbl.domain.Person;
import com.lbl.service.IPersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PersonServiceImpl implements IPersonService {

    @Autowired
    IPersonDao personDao;

    @Override
    public List<Person> findAll() {
        personDao.findAll();
        return null;
    }

    @Override
    public void savePerson(Person person) {
        personDao.savePerson();
    }
}
